package com.innovation.chengzhangriji.ui.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RadioButton;

import com.innovation.chengzhangriji.ChZhRJApplication;

public class CuteRadioButton extends RadioButton {

    public CuteRadioButton(Context context) {
        super(context);
    }

    public CuteRadioButton(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CuteRadioButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();
        setTypeface(((ChZhRJApplication) getContext().getApplicationContext()).getTypeface());
    }
}
